<?php $curtablearr=$publish->queryspec($mid,$curid,'','*' ); ?>
<form action="<?php echo Fun::curcul(); ?> " method="post"  enctype="multipart/form-data" class="aform">
    <?php echo  $actinfo;?>
    <?php
    foreach ($publish->getallfiled($mid) as $filedval) {
        if(in_array($filedval['filed_type'],Filed::$filetypespec)){
            $fileddet=sprintf(Filed::$filetypedet[$filedval['filed_type']],
                $filedval['filed_name'],$curtablearr[0][$filedval['filed_desc']],$filedval['filed_name']);
        }else{
            $fileddet=sprintf(Filed::$filetypedet[$filedval['filed_type']],
                $filedval['filed_name'],$curtablearr[0][$filedval['filed_desc']]);
        }


        printf('<div class="line"><label class="labe">%s</label>%s</div>', $filedval['filed_desc'],$fileddet);
    }


    ?>

    <div  class="line subline"><input class="sub" type="submit" value="修改"></div>
</form>
<script type="text/javascript" src="<?php echo ADMIN_TPL_SRC ?>js/edit.js"></script>
